home *** CD-ROM | disk | FTP | other *** search
- Subject: resizing windows
- Sent: 3/6/96 12:26 PM
- Received: 3/6/96 12:41 PM
- From: Henri Lamiraux, lamiraux@apple.com
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- We set the resize flag to false because we want to handle the resizing
- ourself so we can test for the minimum and maximum window size. Your
- FW_CFrame::HandleWindowEvent should still be called. All the ODF samples
- are built this way and you can resize their window. What is the style of
- your window? It should still have the FW_kResizeable flag. How do you
- create your window? You should be doing something like:
-
- myPart->GetODPart(ev)->Open(ev, myFrame->GetODFrame(ev));
-
- with myFrame being the original frame.
-
- Note: We should have some API in ODF to do that.
-
- Henri Lamiraux
- ODF Team
-
- ---------------------------------------------------------------------------
- -----
-
- Hi,
-
- After my part is opened, in response to a menu command (of my own), I
- create
- a new frame of my content in a new window. So far so good. The problem
- happens when I try to resize this window. When I mouse-down in the resize
- box, a window event (kODEvtWindow) never occurs. I looked to the OpenDoc
- documentation, and when creating an OD window there is parameter for
- specifying the window as resizable. In the ODF window class, it passes
- false
- for this parameter. It appears that this might be the problem?
-
- What am I doing wrong, and what should I do to fix it?
-
- Thanks
- Scott Daniels
-
-
-